package com.capgemini.simpleappblanche.dao;

import java.util.List;

import com.capgemini.simpleappblanche.domain.customer.Customer;
import com.capgemini.simpleappblanche.dto.SearchCustomerCriteria;
import com.capgemini.simpleappblanche.utils.GenericDao;

/**
 * manage customer 
 * @author jcdorchies
 */
public interface ICustomerDao extends GenericDao<Customer, Long>{
	
	/**
	 * find Customers by criteria
	 * @param criteria criteria
	 * @param nbElement nbElement
	 * @return list of customer
	 */
	List<Customer> findByCriteria(final SearchCustomerCriteria criteria,int nbElement);

}
